package com.css.fxfzfxqh.modules.modelManagement.service;

import com.css.fxfzfxqh.modules.modelManagement.entity.CasualtyCalculationEntity;
import com.css.fxfzfxqh.modules.modelManagement.param.AddPersonnelCasualtiesParam;
import com.css.fxfzfxqh.modules.modelManagement.param.PagePersonnelCasualtiesParam;

import java.util.Map;

public interface PersonnelCasualtiesService {
    int getSizeByName(String modelName);

    void save(AddPersonnelCasualtiesParam param);

    Map<String, Object> page(PagePersonnelCasualtiesParam param, int curPage, int pageSize);

    void deleteById(String id);

    void updateById(AddPersonnelCasualtiesParam param);

    CasualtyCalculationEntity getById(String id);
}
